package org.snare.alumni.modules.admin.reservation.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.snare.spider.core.db.base.BaseEntity;

import javax.validation.constraints.NotBlank;

@EqualsAndHashCode(callSuper = true)
@Data
@TableName("sch_reservation")
public class ReservationDTO extends BaseEntity {

    private String id;

    private String uid;

    @NotBlank(message = "手机号不能为空")
    private String phone;

    @NotBlank(message = "姓名不能为空")
    private String name;
    /**
     * 随行人数
     */
    @NotBlank(message = "随行人数不能为空")
    private String peopleNum;
    /**
     * 返校时间
     */
    @NotBlank(message = "返校时间不能为空")
    private String time;
    /**
     * 车牌号
     */
    private String carNum;
    /**
     * 希望看到老师
     */
    private String teacher;
    /**
     * 是否就餐
     */
    private String eat;
    /**
     * 入校事由
     */
    @NotBlank(message = "入校事由不能为空")
    private String reason;
    /**
     * 状态 -1：取消 0：未审核 1：已审核
     */
    private String status;

    private String opinion;


}
